package com.cc.dao.Impl;

import com.cc.dao.OrderDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("orderNewDao")
public class OrderNewDaoImpl implements OrderDao {

    @Value("${newName}")
    private String newName;
    @Value("${newMoney}")
    private String newMoney;
    @Value("${colour}")
    private String newColour;

    @Override
    public void showOrderDetail() {
        System.out.println("你的手机为:" + newName);
        System.out.println("手机价格为:" + newMoney);
        System.out.println("手机型号为:" + newColour);
    }
}
